From: Jim Blandy Date: Thu, 17 Jun 1993 22:03:40 +0000 (+0000) Subject: * xfaces.c (compute_base_face): Initialize the face's stipple. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95249 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=582080c149704368c2ed6d64b6ee2df11cc76f61;p=emacs.git * xfaces.c (compute_base_face): Initialize the face's stipple. Although we don't use this feature now, face_eql notices it. * xfaces.c (compute_base_face): Set cached_index to an invalid index, to avoid an unnecessary comparison. --- diff --git a/src/xfaces.c b/src/xfaces.c index 41436ad4e40..8a00ece903d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -647,7 +647,11 @@ compute_base_face (f, face) face->foreground = d->foreground_pixel; face->background = d->background_pixel; face->font = d->font; + face->stipple = 0; face->underline = 0; + + /* Avoid a face comparison by making this invalid. */ + face->cached_index = -1; }